package com.omiis.wechat.performance_test2;

public class BusMessage {
	private String id;
	private String conversationId;
	private String channelId;
	private String senderId;
	private String senderRole;
	private String senderIp;
	private String senderMac;
	private String senderArea;
	private String sendTime;
	private String receiverId;
	private String msgType;
	private String msgContent;
	private String senderName;

	public BusMessage() {
	}

	public BusMessage(String id, String conversationId, String channelId, String senderId, String senderRole,
			String senderIp, String senderMac, String senderArea, String sendTime, String receiverId, String msgType,
			String msgContent, String senderName) {
		this.id = id;
		this.conversationId = conversationId;
		this.channelId = channelId;
		this.senderId = senderId;
		this.senderRole = senderRole;
		this.senderIp = senderIp;
		this.senderMac = senderMac;
		this.senderArea = senderArea;
		this.sendTime = sendTime;
		this.receiverId = receiverId;
		this.msgType = msgType;
		this.msgContent = msgContent;
		this.setSenderName(senderName);
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getConversationId() {
		return this.conversationId;
	}

	public void setConversationId(String conversationId) {
		this.conversationId = conversationId;
	}

	public String getChannelId() {
		return this.channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getSenderId() {
		return this.senderId;
	}

	public void setSenderId(String senderId) {
		this.senderId = senderId;
	}

	public String getSenderRole() {
		return this.senderRole;
	}

	public void setSenderRole(String senderRole) {
		this.senderRole = senderRole;
	}

	public String getSenderIp() {
		return this.senderIp;
	}

	public void setSenderIp(String senderIp) {
		this.senderIp = senderIp;
	}

	public String getSenderMac() {
		return this.senderMac;
	}

	public void setSenderMac(String senderMac) {
		this.senderMac = senderMac;
	}

	public String getSenderArea() {
		return this.senderArea;
	}

	public void setSenderArea(String senderArea) {
		this.senderArea = senderArea;
	}

	public String getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public String getReceiverId() {
		return this.receiverId;
	}

	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}

	public String getMsgType() {
		return this.msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getMsgContent() {
		return this.msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	public String toString() {
		return "BusMessage{id='" + this.id + '\'' + ", conversationId='" + this.conversationId + '\'' + ", channelId='"
				+ this.channelId + '\'' + ", senderIp='" + this.senderIp + '\'' + ", senderMac='" + this.senderMac
				+ '\'' + ", senderArea='" + this.senderArea + '\'' + ", senderId='" + this.senderId + '\''
				+ ", senderName='" + this.senderName + '\'' + ", senderRole='" + this.senderRole + '\'' + ", sendTime='"
				+ this.sendTime + '\'' + ", receiverId='" + this.receiverId + '\'' + ", msgType='" + this.msgType + '\''
				+ ", msgContent='" + this.msgContent + '\'' + '}';
	}

	/**
	 * @return the senderName
	 */
	public String getSenderName() {
		return senderName;
	}

	/**
	 * @param senderName
	 *            the senderName to set
	 */
	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
}